// 全局注册组件
import PageTools from '@/components/PageTools'
import UploadExcel from './UploadExcel'
import UploadImg from './UploadImg'
import ImageHolder from './ImageHolder'
export default {
  install(Vue) {
    console.log('install', Vue)
    Vue.component('PageTools', PageTools) // 注册工具栏组件
    Vue.component('UploadImg', UploadImg) // 注册导入图片上传功能
    Vue.component('UploadExcel', UploadExcel) // 注册导入excel组件
    Vue.component('ImageHolder', ImageHolder) // 注册全局图片组件
  }
}
